﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;


namespace Script.UI.Component
{
    public class HistogramController : MonoBehaviour
    {
        public UI_Histogram HistogramDisplayElement;


        private void Awake()
        {
            if (HistogramDisplayElement == null)
            {
                HistogramDisplayElement = GetComponent<UI_Histogram>();
            }
        }

        public void Refresh(HistogramDataBase histogramData)
        {
            HistogramDisplayElement.Refresh(histogramData);
        }
    }
}


